<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript">
	//var baseUrl = '../EZOPSDashboardUI';
	$(document).ready(function() {
		/**
		 * To handle left menu toggle on page load
		 */
		$('#operation_li').addClass('root-level has-sub opened');
		$('#operation_li_ul').toggle('click').addClass('visible');
		$('#operation_li_ul').attr('style', '');
		$('#operation_li_ul_li_' + 5).attr('style', 'font-weight: bold;');

		// Load upload profile pic form

		$("a.disabled").click(function() {
			return false;
		});
	});
</script>
<style>
label.headerField {
	font-weight: bold;
}

.errorMsg {
	color : red;
	font-size: 10px;
}

label.headerField span {
	font-weight: normal;
}
</style>
<div class="panel panel-default">
	<div class="panel-heading">
		<div class="panel-title">
			<strong> Exception Resolution </strong>
		</div>
	</div>
	<!-- /.panel-heading -->
	<div class="panel-body">
		<div class="row pull-bottom">
			<c:if test="${not empty fielderrors}">
				<div class="static-col col-lg-3 offset-lg-3">
					<label class="headerField">Client : <span>Client
							Name</span></label>

				</div>
				<div class="static-col col-lg-6 ">
					<label class="headerField">Asset : <span>Asset Value</span></label>
				</div>
		</div>
		<div class="row pull-bottom">
			<div class="static-col col-lg-3 offset-lg-3">
				<label class="headerField">Ticket : <span>Ticket
						#</span></label>
			</div>
			<div class="static-col col-lg-6">
				<label class="headerField">EZOPS Id : <span>EZOPS
						ID #</span></label>
			</div>
		</div>
		<c:forEach var="fielderror" items="${fielderrors}">
			<div class="row pull-bottom">
				<div class="static-col col-lg-6">
					<div class="row pull-bottom">
						<div class="static-col col-lg-4">
							<label>${fielderror.fieldName}</label>
						</div>
						<div class="static-col col-lg-6">
							<input type="text" name="fieldid" value=${fielderror.fieldValue } />
							<span class="errorMsg" id="errorMessage">*Error
								: ${fielderror.errorMessage}</span>
						</div>
					</div>
				</div>
				<div class="static-col col-lg-6">
					<div class="row pull-bottom">
						<div class="static-col col-lg-6">
							<label>Comment If any:</label>
						</div>
						<div class="static-col col-lg-6">
							<input type="text" name="fieldid" />
						</div>
					</div>
				</div>
			</div>
		</c:forEach>
		<div class="row pull-bottom">
			<div class="static-col col-lg-7 col-lg-offset-5">
				<a class="btn btn-default">Submit Details</a>
			</div>
		</div>
		</c:if>
	</div>
</div>
</div>